﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Staticage.Attributes
{
    public enum AttachDataType
    {
        Text
    }

    [AttributeUsage(AttributeTargets.All, AllowMultiple = true)]
    public class AttachDataAttribute : Attribute
    {
        public AttachDataAttribute(string value)
            : this(AttachDataType.Text, value) {
        }

        public AttachDataAttribute(AttachDataType key, object value) {
            this.Key = key;
            this.Value = value;
        }

        public object Key { get; private set; }

        public object Value { get; private set; }
    }
}
